package com.sunny.ynhz.api;

import com.sunny.ynhz.utils.SPUtil;

/**
 * Created by luao on 2017/5/19.
 */

public class NetUrl {

    public static void setUrl(String url) {
        NetUrl.url = url;
    }

    /**
     * 外网地址
     */
//    public static String url = "http://www.gzhz.gov.cn:8080/";

    /**
     * 测试
     */
//   public static String url = "http://10.194.168.30:8081/";
    /**
     * 内网地址
     */
    public static String url = "http://39.130.153.17:8080/";
    public static String img_url = "http://39.130.153.17:8080";
    public static String baseImageUrl = "http://39.130.153.17:8080";
    public static String loadBaseUrl = "http://39.130.153.17:8080";
//        public static String url = "http://192.168.201.3:8080/";
//    public static String baseImageUrl = "http://192.168.201.3:8080";
//    public static String loadBaseUrl = "http://192.168.201.3:8080";
    public static String baseUrl = url + "RiverSystem/";
    public static String imageBaseUrl = "/";
//    public static String baseUrl = url + "RiverSystemtest/";


//
//    /**
//     * 测试外网地址
//     */
//    public static String url = "http://39.130.153.17:555/";
//    public static String img_url = "http://39.130.153.17:555";
//    public static String baseImageUrl = "http://39.130.153.17:555";
//    public static String loadBaseUrl = "http://39.130.153.17:555";
//    //    public static String url = "http://192.168.201.2:8080/";
////    public static String baseImageUrl = "http://192.168.201.2:8080";
////    public static String loadBaseUrl = "http://192.168.201.2:8080";
//    public static String baseUrl = url + "RiverSystem/";
//    public static String imageBaseUrl = "/";


    /**
     * 新闻动态
     */
    public static String NEWS_INFORMATION = baseUrl + "pages/patrol_problem/newsInformation.html" + "?userId=" + SPUtil.get("userId", "null");
    /**
     * 政策法规
     */
    public static String POLICIES_REGULATIONS = baseUrl + "pages/patrol_problem/policiesRegulations.html" + "?userId=" + SPUtil.get("userId", "null");
    /**
     * 他山之石
     */
    public static String OUTSIDE_BOX = baseUrl + "pages/patrol_problem/outsideBox.html" + "?userId=" + SPUtil.get("userId", "null");
    /**
     * 经验交流
     */
    public static String EXPERIENCE_EXCHANGE = baseUrl + "pages/patrol_problem/experienceExchange.html" + "?userId=" + SPUtil.get("userId", "null");
    /**
     * 重点关注
     */
    public static String KEY_ATTENTION = baseUrl + "pages/patrol_problem/notesRiverLength.html" + "?userId=" + SPUtil.get("userId", "null");

    /**
     * 榜单
     */
    public static String LIST = baseUrl + "pages/patrol_problem/redBlackList.html" + "?userId=" + SPUtil.get("userId", "null");


}
